package leetcode.code0155;

import leetcode.IDebug;

public class Solution155 implements IDebug {

	@Override
	public void debug1() {
		MinStack1 minStack = new MinStack1();
		minStack.push(-2);
		minStack.push(0);
		minStack.push(-3);
		minStack.getMin();
		minStack.pop();
		minStack.top();
		int s = minStack.getMin();
		System.out.println(s);
	}

	@Override
	public void debug2() {
		MinStack minStack = new MinStack();
		minStack.push(1);
		minStack.push(2);
		int s = minStack.top();
		System.out.println(s);
		s = minStack.getMin();
		System.out.println(s);
		minStack.pop();
		s = minStack.getMin();
		System.out.println(s);
		s = minStack.top();
		System.out.println(s);
	}

	@Override
	public void debug3() {
		int s = 0;
		MinStack1 minStack = new MinStack1();
		minStack.push(-2);
		minStack.push(0);
		minStack.push(-3);
		s = minStack.getMin();
		System.out.println(s);
		minStack.pop();
		s = minStack.top();
		System.out.println(s);
		s = minStack.getMin();
		System.out.println(s);

	}

	@Override
	public void debug4() {
		int s = 0;
		MinStack minStack = new MinStack();
		minStack.push(1);
		minStack.push(2);
		s = minStack.top();
		System.out.println(s);
		s = minStack.getMin();
		System.out.println(s);
		minStack.pop();
		s = minStack.getMin();
		System.out.println(s);
		s = minStack.top();
		System.out.println(s);
	}

}
